<?php
$this->pageTitle=Yii::app()->name . ' - Email PNMs';
?>
<div class="main-content">
	<h1>Email All PNMs</h1>
	<p><strong>Emailing:</strong><br />
	<?php
	    foreach ($arrEmails as $email) {
	        echo $email . '<br />';
	    }
	?>
	</p>
	
	<p>
    <?php
    	echo CHtml::beginForm();
    	echo CHtml::label("Subject: ", "subject");
    	echo CHtml::textField("subject",'',array('size'=>'81')) . "<br />";
    	echo CHtml::label("Body: ", "body") . "<br />";
    	echo CHtml::textarea("body",'',array('rows'=>10, 'cols'=>70)) . "<br />";
    	echo CHtml::submitButton("Send");
    	echo CHtml::endForm();
	?>
	</p>
</div>